/*
 * Copyright (c) 2023 Cshoo Org. All Rights Reserved.
 */

package org.tattoo.workflow.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author 杨翼
 * @since 1.0
 */
@Data
@ApiModel(value = "提交请求DTO")
public class SubmitReq {
    /**
     * 申请单id
     */
    @NotNull(message = "id is required")
    @ApiModelProperty(value = "申请单id")
    private Long id;

    /**
     * 复核人
     */
    @NotBlank(message = "reviewer is required")
    @ApiModelProperty(value = "复核人")
    private String reviewer;
}
